package cn.oveay.classdesign.service;

import cn.oveay.classdesign.bean.basebean.User;

import java.util.List;

public interface UserService {
    default List<User> findAll() {
        return null;
    }

    default void inseartUser(User user) {

    }

    default User findByName(String name) {
        return null;
    }

    default void delete(String name) {

    }

    void updateUser(User user);
    void trunOffOnlineToAllUser();
    User findById(String id);
}
